const {yy,usermodel,sortstore0a,token,comment,titlemodel,queschildstoremodel,favoritemodel} = require('../model/model');




const find=postdate=>{
	    let admin=new favoritemodel(postdate)
		 return admin.save(function (err, ret) {
			  if (err) {
				console.log('保存失败')
			  } else {
				console.log('保存成功')
				}})}




module.exports={
	addfavoritemodel,updatefavoritemodel,findfavoritemodel
}
